package ugroupmodel

type UGroup struct {
	UGroupNameInfo `validate:"required"`
	Description    string `validate:"omitempty"`
	Signer         string `validate:"required"`
	AdminID        int    `db:"a_id"`
}

type UGroupNameInfo struct {
	ID   int    `validate:"omitempty"`
	Name string `validate:"required"`
}

type PageWithID struct {
	UGroupID int `validate:"required"` // 用户组ID
	Page
}

type Page struct {
	PageSize int `validate:"required"` // 分页尺寸
	PageNo   int `validate:"required"` // 需要进行查询的页号
}
